import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/vant.js'
import 'lib-flexible/flexible'
import './plugins/rem.js'
// 导入全局样式表
import '@/assets/css/global.css'

import VideoPlayer from 'vue-video-player'
import 'vue-video-player/src/custom-theme.css'
import 'video.js/dist/video-js.css'

// 导入axios封装包
import request from '@/utils/request'

import wx from 'weixin-js-sdk'
Vue.prototype.$wx = wx

import {
  getUrlKey
} from '@/utils/getUrlKey.js'

import html2canvas from 'html2canvas'
Vue.prototype.$html2canvas = html2canvas

Vue.use(VideoPlayer)
Vue.prototype.$request = request
Vue.prototype.$getUrlKey = getUrlKey

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
